package com.pig4cloud.pigx.contract.bo;

import com.pig4cloud.pigx.contract.dto.AppContractMultipleChangeDTO;
import com.pig4cloud.pigx.contract.entity.ContractPosition;
import com.pig4cloud.pigx.contract.mongo.entity.ContractSymbolMongo;
import lombok.Data;

import java.util.List;

/**
 * 仓位调整杠杆BO
 *
 * @since 2022/9/8 11:25
 */
@Data
public class ContractPositionMultipleChangeBO {
    /**
     * 传入参数
     */
    private AppContractMultipleChangeDTO dto;
    /**
     * 仓位信息
     */
    private List<ContractPosition> list;
    /**
     * 币对信息
     */
    private ContractSymbolMongo symbol;
    /**
     * 第一条仓位信息
     */
    private ContractPosition firstPosition;
    /**
     * 是否修改过合约账户
     */
    private Boolean hasChangeAsset = false;
}
